ISlave.CoeReadSdoEntryDescription 方法
透过 CoE (CANopen over EtherCAT) 从 SDO 物件读取物件字典中的项目描述。
命名空间:IntervalZero.KINGSTAR.Base.Class组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
语法
IKsCommand<SdoEntryDescription> CoeReadSdoEntryDescription(
int obIndex,
int obSubIndex
)
Function CoeReadSdoEntryDescription(
obIndex As Integer,
obSubIndex As Integer
) As IKsCommand(Of SdoEntryDescription)
参数
obIndex
型别:int
物件的 CANopen 索引,请参阅您的装置说明书以取得该值。
obSubIndex
型别:int
物件的 CANopen 子索引,请参阅您的装置说明书以取得该值。
回传值
型别:IKsCommand<SdoEntryDescription>
回传方法的状态及一个 SdoEntryDescription 值。
可用的 EtherCAT 状态
ecatPreOP, ecatSafeOP, ecatOP
参见